package com.mtnz.njk.entity;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.List;

/**
* @Description:    套餐商品实体类
* @Author:         FBL
* @CreateDate:     2019\8\23 0023 15:57
* @Version:        1.0
*/
@Table(name = "combo")
@Data
public class ComboEntity {
    @Id
    @Column(name = "combo_id")
    private Integer comboId;
    @Column(name = "product_id_combo")
    private String productIdCombo;
    private Integer sort;
    @Column(name = "product_id")
    private String productId;

    @Transient
    private List<ProductEntity> productEntities;

}
